﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace StarTrek.UI.Console.MenuItem
{
    class MenuHelp:iMenuItem
    {
        private const string HELP_KEY = "?";
        #region iMenuItem Members

        public bool ProcessSomeRequest(MenuContext Menu, TextWriter sw, TextReader tr)
        {
            bool rVal = (Menu.Action == MenuAction);

            if (rVal)
            {
                //Perform Action
                throw new NotImplementedException();
            }
            return rVal;
        }

        public string MenuAction
        {
            get
            {
                return HELP_KEY;
            }
        }

        public string Text
        {
            get { return Properties.Resources.HelpMenuText; }
        }

        public string VerboseText
        {
            get { return Properties.Resources.MenuHelpVerbose; }
        }

        #endregion
    }
}
